#pragma once

#include "Block.h"

class Map
{
public:
	bool Init();
	void Draw(int idmap);
	void Destroy();
	void SetBlock(int x, int y, BlockType block);

	void DrawBlock(int idmap, int x, int y, int tx, int ty, bool first = true);
private:
	int m_size;
	std::vector<std::vector<Block>> m_blocks;
};